package threadTestDemo;

import java.util.concurrent.Callable;

public class MyCall implements Callable<String> {
    int i;
    public MyCall(int i){
        this.i=i;
    }

    @Override
    public String call() throws Exception {
        System.out.println("实现Callable执行了，i="+i);
        return "Successfully";
    }
}
